﻿using System;

namespace Utility.RabbitMQ_Service
{
    public interface RabbitMQQueue<T> : IDisposable where T : class
    {
        void Send(T data);

        T Receive();

        T ReceiveRPC();

        void Purge();

        void Close();

        void SetReplyToQueue(String replyToQueue);

        void SetCorrelationId(String correlationId);

        String GetCorrelationId();
    }
}
